package demo.demo04;

import java.util.Arrays;

public class ArraySort {
    public static void main(String[] args) {
        //数组排序
        int[] a = {1, 2, 323, 23, 543, 12, 59};
        System.out.println(Arrays.toString(a));
        Arrays.sort(a);
        System.out.println(Arrays.toString(a));
    }
}
